<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>miniFOC: config.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="Acme_LOGO.png"/></td>
  <td id="projectalign">
   <div id="projectname">miniFOC<span id="projectnumber">&#160;1.0.3</span>
   </div>
   <div id="projectbrief">This open-source project aims to accomplish a FOC(Field Oriented Control) scheme that is operatable with minimum costs in China.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle"><div class="title">config.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>used to place important parameter configurations for users  
<a href="#details">More...</a></p>

<p><a href="config_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ad3d3342321e5502fa12f14a719ce48ec"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ad3d3342321e5502fa12f14a719ce48ec">VBUS</a>&#160;&#160;&#160;8.0f</td></tr>
<tr class="memdesc:ad3d3342321e5502fa12f14a719ce48ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">bus voltage is 8.0V  <a href="config_8h.html#ad3d3342321e5502fa12f14a719ce48ec">More...</a><br /></td></tr>
<tr class="separator:ad3d3342321e5502fa12f14a719ce48ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9be884f546a1b98b40f8cb7971e88bfd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a9be884f546a1b98b40f8cb7971e88bfd">POLAR_PAIRS</a>&#160;&#160;&#160;7</td></tr>
<tr class="memdesc:a9be884f546a1b98b40f8cb7971e88bfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">set BLDC polar pairs to 7  <a href="config_8h.html#a9be884f546a1b98b40f8cb7971e88bfd">More...</a><br /></td></tr>
<tr class="separator:a9be884f546a1b98b40f8cb7971e88bfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a922433e3d0d117291cc2725164f21718"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a922433e3d0d117291cc2725164f21718">ENCODER_RESO</a>&#160;&#160;&#160;4096</td></tr>
<tr class="memdesc:a922433e3d0d117291cc2725164f21718"><td class="mdescLeft">&#160;</td><td class="mdescRight">SC60228 resolution is 2^8 = 4096.  <a href="config_8h.html#a922433e3d0d117291cc2725164f21718">More...</a><br /></td></tr>
<tr class="separator:a922433e3d0d117291cc2725164f21718"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a637f29a41ea0451a8567972018c095f0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a637f29a41ea0451a8567972018c095f0">CALI_TORQUE</a>&#160;&#160;&#160;0.5f</td></tr>
<tr class="memdesc:a637f29a41ea0451a8567972018c095f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">set calibrate torque to 0.5  <a href="config_8h.html#a637f29a41ea0451a8567972018c095f0">More...</a><br /></td></tr>
<tr class="separator:a637f29a41ea0451a8567972018c095f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a214f3669dd4f982a92d438406be0f442"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a214f3669dd4f982a92d438406be0f442">USE_SVPWM</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:a214f3669dd4f982a92d438406be0f442"><td class="mdescLeft">&#160;</td><td class="mdescRight">Not using space vector pulse width modulator.  <a href="config_8h.html#a214f3669dd4f982a92d438406be0f442">More...</a><br /></td></tr>
<tr class="separator:a214f3669dd4f982a92d438406be0f442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c7ed0283bd6f2f9d791860d6254ef4f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a2c7ed0283bd6f2f9d791860d6254ef4f">UART_BAUDRATE</a>&#160;&#160;&#160;512000</td></tr>
<tr class="memdesc:a2c7ed0283bd6f2f9d791860d6254ef4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">set UART baud rate to 512000  <a href="config_8h.html#a2c7ed0283bd6f2f9d791860d6254ef4f">More...</a><br /></td></tr>
<tr class="separator:a2c7ed0283bd6f2f9d791860d6254ef4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6177eb86ee16a1956c81749e4e332cf0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a6177eb86ee16a1956c81749e4e332cf0">PWM_FREQUENCY</a>&#160;&#160;&#160;20</td></tr>
<tr class="memdesc:a6177eb86ee16a1956c81749e4e332cf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">set PWM frequency to 20kHz  <a href="config_8h.html#a6177eb86ee16a1956c81749e4e332cf0">More...</a><br /></td></tr>
<tr class="separator:a6177eb86ee16a1956c81749e4e332cf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf175a4d203eb22407f26a7e09abe70e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#abf175a4d203eb22407f26a7e09abe70e">TIM2_FREQUENCY</a>&#160;&#160;&#160;8</td></tr>
<tr class="memdesc:abf175a4d203eb22407f26a7e09abe70e"><td class="mdescLeft">&#160;</td><td class="mdescRight">set FOC loop frequency to 8kHz  <a href="config_8h.html#abf175a4d203eb22407f26a7e09abe70e">More...</a><br /></td></tr>
<tr class="separator:abf175a4d203eb22407f26a7e09abe70e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9289eb166344bb9d0d6560b6da41118"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ae9289eb166344bb9d0d6560b6da41118">TIM13_FREQUENCY</a>&#160;&#160;&#160;100</td></tr>
<tr class="memdesc:ae9289eb166344bb9d0d6560b6da41118"><td class="mdescLeft">&#160;</td><td class="mdescRight">set speed/angle PID loop frequency to 100Hz  <a href="config_8h.html#ae9289eb166344bb9d0d6560b6da41118">More...</a><br /></td></tr>
<tr class="separator:ae9289eb166344bb9d0d6560b6da41118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adddd943909a2fac22c5fe8e3949d105f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#adddd943909a2fac22c5fe8e3949d105f">SPEED_UP_FREQ</a>&#160;&#160;&#160;200</td></tr>
<tr class="memdesc:adddd943909a2fac22c5fe8e3949d105f"><td class="mdescLeft">&#160;</td><td class="mdescRight">set speed update frequency to 200Hz  <a href="config_8h.html#adddd943909a2fac22c5fe8e3949d105f">More...</a><br /></td></tr>
<tr class="separator:adddd943909a2fac22c5fe8e3949d105f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b13b9a69505b192a40569ac6bae91f6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a3b13b9a69505b192a40569ac6bae91f6">SPI_PRESCALE</a>&#160;&#160;&#160;SPI_PSC_16</td></tr>
<tr class="memdesc:a3b13b9a69505b192a40569ac6bae91f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">set SPI frequency to 72 / 16 = 4.5MHz  <a href="config_8h.html#a3b13b9a69505b192a40569ac6bae91f6">More...</a><br /></td></tr>
<tr class="separator:a3b13b9a69505b192a40569ac6bae91f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bb8116c0084a1decc494f532e229e1e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a7bb8116c0084a1decc494f532e229e1e">UART_PRIORITY</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:a7bb8116c0084a1decc494f532e229e1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">UART preemption priority set to 1.  <a href="config_8h.html#a7bb8116c0084a1decc494f532e229e1e">More...</a><br /></td></tr>
<tr class="separator:a7bb8116c0084a1decc494f532e229e1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af73502ecef65b17c424513be3294841f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#af73502ecef65b17c424513be3294841f">TIM2_PRIORITY</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:af73502ecef65b17c424513be3294841f"><td class="mdescLeft">&#160;</td><td class="mdescRight">TIMER2 preemption priority set to 2.  <a href="config_8h.html#af73502ecef65b17c424513be3294841f">More...</a><br /></td></tr>
<tr class="separator:af73502ecef65b17c424513be3294841f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5726838e06fba2bf7e5a7ebf44de9641"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a5726838e06fba2bf7e5a7ebf44de9641">TIM13_PRIORITY</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:a5726838e06fba2bf7e5a7ebf44de9641"><td class="mdescLeft">&#160;</td><td class="mdescRight">TIMER13 preemption priority set to 3.  <a href="config_8h.html#a5726838e06fba2bf7e5a7ebf44de9641">More...</a><br /></td></tr>
<tr class="separator:a5726838e06fba2bf7e5a7ebf44de9641"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17c58df3fba73bc0fe08b011bc3d404f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a17c58df3fba73bc0fe08b011bc3d404f">FMC_WRITE_START_ADDR</a>&#160;&#160;&#160;0x08007C00UL</td></tr>
<tr class="memdesc:a17c58df3fba73bc0fe08b011bc3d404f"><td class="mdescLeft">&#160;</td><td class="mdescRight">User flash space start address, 1KB user flash.  <a href="config_8h.html#a17c58df3fba73bc0fe08b011bc3d404f">More...</a><br /></td></tr>
<tr class="separator:a17c58df3fba73bc0fe08b011bc3d404f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >used to place important parameter configurations for users </p>
<dl class="section author"><dt>Author</dt><dd>Lao·Zhu </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V1.0.3 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>1. August 2023 </dd></dl>

<p class="definition">Definition in file <a class="el" href="config_8h_source.html">config.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a637f29a41ea0451a8567972018c095f0" name="a637f29a41ea0451a8567972018c095f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a637f29a41ea0451a8567972018c095f0">&#9670;&nbsp;</a></span>CALI_TORQUE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CALI_TORQUE&#160;&#160;&#160;0.5f</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set calibrate torque to 0.5 </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00019">19</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="a922433e3d0d117291cc2725164f21718" name="a922433e3d0d117291cc2725164f21718"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a922433e3d0d117291cc2725164f21718">&#9670;&nbsp;</a></span>ENCODER_RESO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ENCODER_RESO&#160;&#160;&#160;4096</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SC60228 resolution is 2^8 = 4096. </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00017">17</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="a17c58df3fba73bc0fe08b011bc3d404f" name="a17c58df3fba73bc0fe08b011bc3d404f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17c58df3fba73bc0fe08b011bc3d404f">&#9670;&nbsp;</a></span>FMC_WRITE_START_ADDR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FMC_WRITE_START_ADDR&#160;&#160;&#160;0x08007C00UL</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>User flash space start address, 1KB user flash. </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00044">44</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="a9be884f546a1b98b40f8cb7971e88bfd" name="a9be884f546a1b98b40f8cb7971e88bfd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9be884f546a1b98b40f8cb7971e88bfd">&#9670;&nbsp;</a></span>POLAR_PAIRS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define POLAR_PAIRS&#160;&#160;&#160;7</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set BLDC polar pairs to 7 </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00015">15</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="a6177eb86ee16a1956c81749e4e332cf0" name="a6177eb86ee16a1956c81749e4e332cf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6177eb86ee16a1956c81749e4e332cf0">&#9670;&nbsp;</a></span>PWM_FREQUENCY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PWM_FREQUENCY&#160;&#160;&#160;20</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set PWM frequency to 20kHz </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00026">26</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="adddd943909a2fac22c5fe8e3949d105f" name="adddd943909a2fac22c5fe8e3949d105f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adddd943909a2fac22c5fe8e3949d105f">&#9670;&nbsp;</a></span>SPEED_UP_FREQ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SPEED_UP_FREQ&#160;&#160;&#160;200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set speed update frequency to 200Hz </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00032">32</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="a3b13b9a69505b192a40569ac6bae91f6" name="a3b13b9a69505b192a40569ac6bae91f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b13b9a69505b192a40569ac6bae91f6">&#9670;&nbsp;</a></span>SPI_PRESCALE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SPI_PRESCALE&#160;&#160;&#160;SPI_PSC_16</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set SPI frequency to 72 / 16 = 4.5MHz </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00034">34</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="ae9289eb166344bb9d0d6560b6da41118" name="ae9289eb166344bb9d0d6560b6da41118"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9289eb166344bb9d0d6560b6da41118">&#9670;&nbsp;</a></span>TIM13_FREQUENCY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TIM13_FREQUENCY&#160;&#160;&#160;100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set speed/angle PID loop frequency to 100Hz </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00030">30</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="a5726838e06fba2bf7e5a7ebf44de9641" name="a5726838e06fba2bf7e5a7ebf44de9641"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5726838e06fba2bf7e5a7ebf44de9641">&#9670;&nbsp;</a></span>TIM13_PRIORITY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TIM13_PRIORITY&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>TIMER13 preemption priority set to 3. </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00041">41</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="abf175a4d203eb22407f26a7e09abe70e" name="abf175a4d203eb22407f26a7e09abe70e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf175a4d203eb22407f26a7e09abe70e">&#9670;&nbsp;</a></span>TIM2_FREQUENCY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TIM2_FREQUENCY&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set FOC loop frequency to 8kHz </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00028">28</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="af73502ecef65b17c424513be3294841f" name="af73502ecef65b17c424513be3294841f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af73502ecef65b17c424513be3294841f">&#9670;&nbsp;</a></span>TIM2_PRIORITY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TIM2_PRIORITY&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>TIMER2 preemption priority set to 2. </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00039">39</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="a2c7ed0283bd6f2f9d791860d6254ef4f" name="a2c7ed0283bd6f2f9d791860d6254ef4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c7ed0283bd6f2f9d791860d6254ef4f">&#9670;&nbsp;</a></span>UART_BAUDRATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UART_BAUDRATE&#160;&#160;&#160;512000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set UART baud rate to 512000 </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00024">24</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="a7bb8116c0084a1decc494f532e229e1e" name="a7bb8116c0084a1decc494f532e229e1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bb8116c0084a1decc494f532e229e1e">&#9670;&nbsp;</a></span>UART_PRIORITY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UART_PRIORITY&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>UART preemption priority set to 1. </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00037">37</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="a214f3669dd4f982a92d438406be0f442" name="a214f3669dd4f982a92d438406be0f442"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a214f3669dd4f982a92d438406be0f442">&#9670;&nbsp;</a></span>USE_SVPWM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USE_SVPWM&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Not using space vector pulse width modulator. </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00021">21</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
<a id="ad3d3342321e5502fa12f14a719ce48ec" name="ad3d3342321e5502fa12f14a719ce48ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3d3342321e5502fa12f14a719ce48ec">&#9670;&nbsp;</a></span>VBUS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VBUS&#160;&#160;&#160;8.0f</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>bus voltage is 8.0V </p>

<p class="definition">Definition at line <a class="el" href="config_8h_source.html#l00013">13</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
